import service from '@/utils/request'

const VillageApplyApi = {
  // ----------------小区申请管理--------------
  listVillageApply:function(data){
    return service.get('villageApply/page', {params:data})
  },
  approvalVillage:function(data){
    return service.put('villageApply/approval', data)
  },
  getVillageApplyInfo:function(data){
    return service.get('villageApply', {params:data})
  },
  villageList(data){
    // 获取街道下的小区
    return service.get('village/listIdName',{ params: data });
  },
}

export default VillageApplyApi
